/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package executingimpl.executeservice;

import executing.IExecuteService;
import executing.IExecutor;
import executor.ExecutionItem;

/**
 *
 * @author ryuju
 */
public class ExecuteService implements IExecuteService{

    @Override
    public IExecutor getExecutor(ExecutionItem execItem){
        IExecutor executor = null;
        
        if(execItem.srcLang.toUpperCase().equals("JAVA"))
        {
            executor = new JavaClassExecutor();
        }
        return executor;
    }
    
}
